// sass --style compact play-weixin-sign.scss play-weixin-sign.css
// sass --style compressed play-weixin-sign.scss play-weixin-sign.css
// sass --watch play-weixin-sign.scss:play-weixin-sign.css

$font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-size: 14px;
$font-size-lg: 24px;
$font-size-hg: 36px;
$color-black: #222222;
$color-white: #ffffff;
$color-gray: #999999;
$color-red: #d9534f;
$color-green: #5cb85c;

body {
	background-color: lighten($color-gray, 30%);
	font-size: $font-size;
	font-family: $font-family;
	color: $color-black;
}

.sign {
	width: 300px;
	margin-top: 150px;
	margin-right: auto;
	margin-left: auto;
	h1 {
		margin: 0;
		margin-bottom: 10px;
		padding: 0;
		text-shadow: 1px 1px 1px rgba(0,0,0,.25);
		font-weight: bold;
		color: $color-green;
		i {
			text-decoration: underline;
			font-size: $font-size-lg;
			color: lighten($color-gray, 10%);
		}
	}
	.form {
		padding: 30px 20px;
		background-color: $color-white;
		box-shadow: 1px 1px 3px rgba(255,255,255,.5);
		border: 1px solid #cccccc;
		border-radius: 4px;
		color: $color-black;
		h3 {
			margin: 0;
			margin-bottom: 10px;
			padding: 0;
		}
		.error {
			color: $color-red;
		}
		.success {
			color: $color-green;
		}
		input[type=text] {
			border-bottom-right-radius: 0;
			border-bottom-left-radius: 0;
			&:focus {
				position: relative;
				z-index: 99;
			}
		}
		input[type=password] {
			position: relative;
			margin-top: -1px;
			border-top-right-radius: 0;
			border-top-left-radius: 0;
		}
	}
	p {
		margin-top: 10px;
		color: lighten($color-gray, 10%);
	}
}
